package com.newasia.server.dal.entitys;

import java.io.Serializable;
import java.util.Date;

public class HisAlert implements Serializable {
    private Long alertId;

    private Date time;

    private String sid;

    private String operation;

    private String fieldName;

    private Boolean flagSms;

    private String remark;

    private Boolean isSend;

    private String reason;

    private String solution;

    private Integer alertType;

    private Date alertTime;

    private Long alertUser;

    private Integer speed;

    private static final long serialVersionUID = 1L;

    public Long getAlertId() {
        return alertId;
    }

    public void setAlertId(Long alertId) {
        this.alertId = alertId;
    }

    public Date getTime() {
        return time;
    }

    public void setTime(Date time) {
        this.time = time;
    }

    public String getSid() {
        return sid;
    }

    public void setSid(String sid) {
        this.sid = sid == null ? null : sid.trim();
    }

    public String getOperation() {
        return operation;
    }

    public void setOperation(String operation) {
        this.operation = operation == null ? null : operation.trim();
    }

    public String getFieldName() {
        return fieldName;
    }

    public void setFieldName(String fieldName) {
        this.fieldName = fieldName == null ? null : fieldName.trim();
    }

    public Boolean getFlagSms() {
        return flagSms;
    }

    public void setFlagSms(Boolean flagSms) {
        this.flagSms = flagSms;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark == null ? null : remark.trim();
    }

    public Boolean getIsSend() {
        return isSend;
    }

    public void setIsSend(Boolean isSend) {
        this.isSend = isSend;
    }

    public String getReason() {
        return reason;
    }

    public void setReason(String reason) {
        this.reason = reason == null ? null : reason.trim();
    }

    public String getSolution() {
        return solution;
    }

    public void setSolution(String solution) {
        this.solution = solution == null ? null : solution.trim();
    }

    public Integer getAlertType() {
        return alertType;
    }

    public void setAlertType(Integer alertType) {
        this.alertType = alertType;
    }

    public Date getAlertTime() {
        return alertTime;
    }

    public void setAlertTime(Date alertTime) {
        this.alertTime = alertTime;
    }

    public Long getAlertUser() {
        return alertUser;
    }

    public void setAlertUser(Long alertUser) {
        this.alertUser = alertUser;
    }

    public Integer getSpeed() {
        return speed;
    }

    public void setSpeed(Integer speed) {
        this.speed = speed;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", alertId=").append(alertId);
        sb.append(", time=").append(time);
        sb.append(", sid=").append(sid);
        sb.append(", operation=").append(operation);
        sb.append(", fieldName=").append(fieldName);
        sb.append(", flagSms=").append(flagSms);
        sb.append(", remark=").append(remark);
        sb.append(", isSend=").append(isSend);
        sb.append(", reason=").append(reason);
        sb.append(", solution=").append(solution);
        sb.append(", alertType=").append(alertType);
        sb.append(", alertTime=").append(alertTime);
        sb.append(", alertUser=").append(alertUser);
        sb.append(", speed=").append(speed);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}